package com.micro.service.auth.server.exception;

import org.springframework.security.core.AuthenticationException;

/**
 * @Description: 用户中心错误
 **/
public class AccountCenterException extends AuthenticationException{

	private static final long serialVersionUID = 1L;
	private String code;
	public AccountCenterException(String msg) {
        super(msg);
    }

	public AccountCenterException(String code, String msg) {
        super(msg);
        this.code = code;
    }
    public AccountCenterException(String msg, Throwable t) {
        super(msg, t);
    }

	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}

    
}
